<?php
if (!defined('APP_RUN')) exit();
## Global path to scripts.
$config['global']['path'] = '%PATH%';
$config['global']['real_path'] = '%REALPATH%'; //on disk - needed to upload files
$config['global']['install'] = false;

## Server general settings.
$config['server']['name'] = '%NAME%';
$config['server']['port'] = '%PORT%';
$config['server']['premdays'] = 0; // new accounts free premium days
$config['server']['prohibited'] = array(1,2); // prohibited accounts to use in login form
$config['server']['sex'] = array(0 => 'female', 1 => 'male');
$config['server']['professions'][0] = array(0 => 'none', 1 => 'sorcerer', 2 => 'druid', 3 => 'paladin', 4 => 'knight');
$config['server']['professions'][1] = array(1 => 'master sorcerer', 2 => 'elder druid', 3 => 'royal paladin', 4 => 'elite knight');
$config['server']['professions']['allowed'] = array(1 => $config['server']['professions'][0][1], 2 => $config['server']['professions'][0][2], 3 => $config['server']['professions'][0][3], 4 => $config['server']['professions'][0][4]);
$config['server']['towns'] = array(0 => 'Archez City', 1 => 'Archez State', 2 => 'Archez Country');
$config['server']['world'] = 0;

## reCaptcha, this can tell whether your user is a human or a computer.
$config['recaptcha']['enabled'] = true; // disable/enable reCaptcha (recommendation: ALWAYS KEEP IT AS 'TRUE'), otherwise bots can spam your database.
$config['recaptcha']['publickey'] = '%PUBLICKEY%';
$config['recaptcha']['privatekey'] = '%PRIVATEKEY%';
$config['recaptcha']['theme'] = 'blackglass'; // 'red', 'white', 'blackglass' & 'clean'
## Website general settings.
$config['website']['index'] = 'home'; // default page to redirect users in case the requested paged doesn't exist.
$config['website']['timezone'] = 'America/Tijuana'; // AAC won't run if this variable isn't set!
$config['website']['smarty'] = false; // true = Smarty ON, false = Smarty OFF
$config['website']['template'] = 'worgen';
$config['website']['forumStatus'] = true; // set this value to "true" if you do have a forum and have already set the variable below to your forum URL.
$config['website']['forum'] = 'http://otland.net/';
$config['website']['characters'] = 5; // allowed characters per account
$config['website']['samples'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
$config['website']['date_format'] = 'jS F Y, H:i:s';
$config['website']['timeToChangeEmail'] = 1 * 24 * 60 * 60; // if you want to change email, you need to wait for this time
$config['website']['guild']['descriptionLinesLimit'] = 5;
$config['website']['guild']['descriptionCharactersLimit'] = 500;
$config['website']['guild']['motdCharactersLimit'] = 100; //max 255
$config['website']['guild']['levelToCreate'] = 20;
$config['website']['guild']['premmyToCreate'] = true;
$config['website']['guild']['ext'] = 'gif';
$config['website']['not_allowed']['words'] = array('admin', 'gm', 'cm', 'tutor');
$config['website']['not_allowed']['strings'] = array('game master', 'gamemaster', 'community manager', 'administrator');


## Shop system
$config['website']['store']['status'] = true; // true = on, false = off
$config['website']['store']['link'] = '/store/';
$config['website']['store']['ext'] = 'gif'; // shop items picture extension

## INJECTIONS disable/enable
$config['website']['injections']['search']['check']['quests'] = array('enable' => true, 'smarty' => false);
$config['website']['injections']['store']['browse']['top'] = array('enable' => true, 'smarty' => false);
$config['website']['injections']['store']['browse']['recently'] = array('enable' => true, 'smarty' => false);

## MySQL connection
$config['database']['host'] = '%HOST%';
$config['database']['user'] = '%USER%';
$config['database']['password'] = '%PASSWORD%';
$config['database']['database'] = '%DATABASE%';
$config['database']['password_encryption'] = '%ENCRYPT%'; // md5, sha1 or empty if plain
$config['database']['salt'] = '%SALT%';

## Server status
$config['status']['timeout'] = 0; // status timeout in seconds


## Controllers (remember that second key of array config need to be lower case of controller class name)
# highscores
$config['controller']['highscores']['limit_per_page'] = 100;
# deaths
$config['controller']['deaths']['limit'] = 25;
?>